package com.example.hao.qq.Fragment;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;

import com.example.hao.qq.R;


/**
 * A simple {@link Fragment} subclass.
 */
public class ContactFragment extends Fragment {


    private View view;

    public ContactFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        view = inflater.inflate(R.layout.fragment_b, container, false);
        initView();
        return view;
    }

    private void initView() {
        Toast.makeText(getActivity(), "这是联系人页面", Toast.LENGTH_SHORT).show();
    }

}
